//
//  YLAdressWhiteTableViewCell.m
//  YLFinanceService
//
//  Created by she1323 on 2017/9/8.
//  Copyright © 2017年 she1323. All rights reserved.
//

#import "YLAdressWhiteTableViewCell.h"
#import "YLMyAdressModel.h"
@interface YLAdressWhiteTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *hooKImageView;
@property (weak, nonatomic) IBOutlet UILabel *nameLabel;
@property (weak, nonatomic) IBOutlet UILabel *phoneNumberLabel;
@property (weak, nonatomic) IBOutlet UILabel *detailAdressLabel;

@end

@implementation YLAdressWhiteTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}

+ (NSString *)cellID
{
    return @"YLAdressWhiteTableViewCell";
}

- (void)setModel:(YLMyAdressModel *)model
{
    _model = model;
    _nameLabel.text = model.receiveName;
    _phoneNumberLabel.text = model.receiveTel;
    _detailAdressLabel.text = model.receiveAddress;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    _hooKImageView.hidden = !selected;
    // Configure the view for the selected state
}

@end
